{extend name="base" /}{block name="seo"}
<title>修改密码 - {$site.name}</title>
<meta name="keywords" content="{$site.keywords}">
<meta name="description" content="{$site.description}">
{/block}
{block name="css"}
<link href="__HOME__/css/user.css" rel="stylesheet" type="text/css">
{/block}
{block name="body"}
<div class="container">
   <div class="user">
        {include file="index/menu"}


        <div class="user-info user-box fl">
                <div class="title">
                    修改密码
                </div>
            <div class="info" style="width: 50%;margin: 0px auto">
                <form class="layui-form" name="form1" >

                    <div class="layui-form-item">

                        <div class="layui-input-block">
                            <input type="text" class="layui-input" value="{$user.nickname}" disabled="disabled" style="background:#f2f5f9">
                        </div>
                    </div>

                    <div class="layui-form-item">

                        <div class="layui-input-block">
                            <input type="password" name="old_password"  {if $user.password eq ''}disabled="disabled" placeholder="旧密码为空不必输入" {else/} placeholder="请输入旧密码"{/if} class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <input type="password"  name="password"  placeholder="请输入新密码" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <input type="password"  name="password_confirm"  placeholder="请再次输入新密码" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">

                        <button class="layui-btn" lay-submit lay-filter="change_pwd">确认修改</button>
                    </div>
                </form>
            </div>


        </div>
    </div>
</div>
{/block}
{block name="js"}
 <script src="__HOME__/js/user.js"></script>
{/block}

